package org.jspar.route;

import org.jspar.util.IPredicate;

public class OnSameNet implements IPredicate<Expansion, Expansion> {

	@Override
	public boolean test(Expansion exp1, Expansion exp2) {
		return exp1.net() == exp2.net() && exp1 != exp2;
	}

}
